Blockly.MIXLY_YF_LED='LED';
Blockly.MIXLY_YF_LED_P='Piranha LED'
Blockly.MIXLY_YF_BUZZER='Buzzer';
Blockly.MIXLY_YF_SPEAKER='Speaker';
Blockly.MIXLY_YF_BTN='Button';
Blockly.MIXLY_YF_IRP='IR Proximity';
Blockly.MIXLY_YF_IRFAR='Far infrared';
Blockly.MIXLY_YF_VIBRATION='Vibration';
Blockly.MIXLY_YF_TILT='Tilt';
Blockly.MIXLY_YF_TOUCH='Touch';
Blockly.MIXLY_YF_MAGNETIC='Magnetic';
Blockly.MIXLY_YF_PYROELECTRIC_INFRARED='Pyroelectric infrared';
Blockly.MIXLY_YF_JOYSTICK_D='Joystick button';
Blockly.MIXLY_YF_JOYSTICK_A='Joystick';
Blockly.MIXLY_YF_POTENTIOMETER='Potentiometer';
Blockly.MIXLY_YF_ROTATION='Rotation';
Blockly.MIXLY_YF_PHOTO='Photosensor';
Blockly.MIXLY_YF_SOUND='Sound';
Blockly.MIXLY_YF_RELAY='Relay';
Blockly.MIXLY_YF_LIGHT='Light';
Blockly.MIXLY_YF_GRAYSCALE='Grayscale';
Blockly.MIXLY_YF_FLAME='Flame';
Blockly.MIXLY_YF_HALL='Hall';
Blockly.MIXLY_YF_TCRT5000='TCRT5000';
Blockly.MIXLY_YF_TEMPERATURE='Temperature';
Blockly.MIXLY_YF_MOISTURE_D='Moisture-D';
Blockly.MIXLY_YF_MOISTURE_A='Moisture-A';
Blockly.MIXLY_YF_LCD='I2C_1602';
Blockly.MIXLY_YF_LCD_CUSTOMCHAR='CustomChars';
Blockly.MIXLY_YF_LCD_CHAR='Pattern';
Blockly.MIXLY_YF_LCD_PRESET_CUSTOMCHAR='PresetPattern';
Blockly.MIXLY_YF_U='U_type Photoelectric Switch';
Blockly.MIXLY_YF_COLLISION='Collision';
Blockly.MIXLY_YF_FAN='Fan';
//L298P
Blockly.MIXLY_YFL298P_MOTOR_SPEED='Speed';
Blockly.MIXLY_YFL298P='L298P';
Blockly.MIXLY_YFL298P_MOTOR='Motor';
Blockly.MIXLY_YFL298P_MOTOR_SPEED_RANGE='(0~255)';
Blockly.MIXLY_YFL298P_MOTOR_DIRECTION_F='Forward';
Blockly.MIXLY_YFL298P_MOTOR_DIRECTION_D='Reversal';
//PMR3
Blockly.MIXLY_YFPMR3_MOTOR_SPEED='Speed';
Blockly.MIXLY_YFPMR3='PM-R3';
Blockly.MIXLY_YFPMR3_MOTOR='Motor';
Blockly.MIXLY_YFPMR3_MOTOR_SPEED_RANGE='(0~255)';
Blockly.MIXLY_YFPMR3_MOTOR_DIRECTION_F='Forward';
Blockly.MIXLY_YFPMR3_MOTOR_DIRECTION_D='Reversal';
//4 Display 
Blockly.MIXLY_YF_4DIGITDISPLAY='DigitDisplay';
Blockly.MIXLY_YF_4DIGITDISPLAY_DISPLAYSTRING='displayString';
Blockly.MIXLY_YF_4DIGITDISPLAY_NOMBER1='No.';
Blockly.MIXLY_YF_4DIGITDISPLAY_NOMBER2='';
Blockly.MIXLY_YF_4DIGITDISPLAY_DOT='Dot';
Blockly.MIXLY_YF_4DIGITDISPLAY_BRIGHTNESS='Brightness';
Blockly.MIXLY_YF_4DIGITDISPLAY_BRIGHTNESS_RANGE='(1~8)';
Blockly.MIXLY_YF_4DIGITDISPLAY_TIME_HOUR='Hour';
Blockly.MIXLY_YF_4DIGITDISPLAY_TIME_MINUTE='Minute';
Blockly.MIXLY_YF_4DIGITDISPLAY_TIME_SECOND='Second';
//4 Display time
Blockly.MIXLY_YF_TIME_SEC_ON ='on';
Blockly.MIXLY_YF_TIME_SEC_BLINK ='blink';
Blockly.MIXLY_YF_TIME_SEC_OFF='off';
//DS3231
Blockly.MIXLY_YF_DS3231='DS3231';
Blockly.MIXLY_YF_DS3231_GET_TIME='Get';
Blockly.MIXLY_YF_DS3231_SET_TIME='SetTime';
Blockly.MIXLY_YF_DS3231_SET_TIME2='Compiled date and time';
Blockly.MIXLY_YF_YEAR='Year';
Blockly.MIXLY_YF_MONTH='Month';
Blockly.MIXLY_YF_DAY='Day';
Blockly.MIXLY_YF_HOUR='Hour';
Blockly.MIXLY_YF_MINUTE='Minute';
Blockly.MIXLY_YF_SECOND='Second';
Blockly.MIXLY_YF_DAYOFWEEK='DayOfWeek';
//PS2
Blockly.MIXLY_YF_PS2='PS2 Controller';
Blockly.MIXLY_YF_PS2_BUTTON='PS2 Button';
Blockly.MIXLY_YF_PS2_A_BUTTON='PS2 Analog';
Blockly.MIXLY_YF_PS2_R_MOTOR='ReadController & SetMotor';
Blockly.MIXLY_YF_PS2_ROCKER='PS2 Rocker';
Blockly.MIXLY_YF_PSB_PRESSED='Pressed';
Blockly.MIXLY_YF_PSB_RELEASED='Released';
Blockly.MIXLY_YF_PS2_BTN_STATUS='Status';
Blockly.MIXLY_YF_IR_RECEIVE='IRreceive';
Blockly.MIXLY_YF_IR_VAL = 'IR Controller Key Value';
//ANALOG WRITE 
Blockly.MIXLY_ANALOGWRITE='AnalogWrite';
//PLAY MUSIC
Blockly.YF_PLAYMUSIC_SET_MELODY = 'Set Melody';
Blockly.YF_PLAYMUSIC_SET_TONE = 'Set Tone';
Blockly.YF_PLAYMUSIC_SET_PITCH = 'Set Pitch';
Blockly.YF_PLAYMUSIC_SET_RHYTHM = 'Set Rhythm';
Blockly.YF_PLAYMUSIC_SET_DUR = 'Set the duration of each beat';
Blockly.YF_NEWNOTONE = 'No Tone';
//DOT MATRIX
Blockly.MIXLY_YF_DOTMATRIX = 'Dot Matrix';
Blockly.MIXLY_YF_MATRIX_DISPLAY = 'Display';
Blockly.MIXLY_YF_SINGLEDOT = 'Dot'
Blockly.MIXLY_YF_MATRIX_DISPLAY_TIME = 'Time';
Blockly.MIXLY_YF_MATRIX_ROW = 'Row'
Blockly.MIXLY_YF_MATRIX_COL = 'Col'





//微动开关
Blockly.MIXLY_MICROSWITCH = 'microswitch';